#!/bin/sh

ps -ef | grep uwsgi | grep -v grep | awk '{print $2}' | xargs kill -9

uwsgi -d --int cupblog/cupblog_uwsgi.ini

echo '重启成功'